package com.djl.repository;

import com.djl.entity.Query;
import org.apache.ibatis.annotations.Param;

/**
 * 注：增删改只能通过主键ID操作!
 */
public interface BaseRepository<T>{

    T selectByQuery(Query query);

    int insert(T entity);

    int delete( T entity);

    int update(T entity);
}
